package com.ea.admin.pojo.param.report;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetWarningListParam {
    @ApiModelProperty(value = "单位的id-主键")
    private List<String> companyIdList;

    @ApiModelProperty(value = "部门的id-主键")
    private List<String> departmentIdList;

    @ApiModelProperty(value = "职位名称")
    private List<String> positionIdList;

    @ApiModelProperty("应答性预警次数 最小值")
    private Integer minReactiveWarningCount;

    @ApiModelProperty("应答性预警次数 最大值")
    private Integer maxReactiveWarningCount;

    @ApiModelProperty("适应性预警次数 最小值")
    private Integer minAdaptiveWarningCount;

    @ApiModelProperty("适应性预警次数 最大值")
    private Integer maxAdaptiveWarningCount;

    @ApiModelProperty("风险性性预警次数 最小值")
    private Integer minRiskWarningCount;

    @ApiModelProperty("风险性性预警次数 最大值")
    private Integer maxRiskWarningCount;

    @ApiModelProperty("报告的起始日期")
    private String startDate;

    @ApiModelProperty("报告的结束日期")
    private String endDate;

    @ApiModelProperty("人员姓名")
    private String name;

    @ApiModelProperty(value = "页码", required = true)
    @NotNull(message = "页码不能为空")
    private Integer page;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;
}
